<template>
  <ProTable :data="data" :columns="columns" />
</template>
<script lang="tsx">
import { ProTable } from '..';
import { defineComponent } from 'vue';
import { useColumns } from './hooks/use-columns';

export default defineComponent({
  components: { ProTable },
  setup() {
    const { data, columns } = useColumns();
    return {
      columns,
      data,
    };
  },
});
</script>
